package com.hmall.common.constants;

public interface MQConstants {

    //死信队列
    String ERROR_EXCHANGE_NAME = "error.direct";
    //延迟队列
    String DELAY_EXCHANGE_NAME = "trade.delay.direct";
    String DELAY_ORDER_QUEUE_NAME = "trade.delay.order.queue";
    String DELAY_ORDER_KEY = "delay.order.query";
    //订单创建
    String TOPIC_EXCHANGE_NAME = "trade.topic";
    String ORDER_CREATE_KEY = "order.create";
    //商品
    String ITEM_DIRECT_EXCHANGE_NAME = "item.direct";

    String ITEM_SAVE_QUEUE_NAME = "item.save.queue";
    String ITEM_UPDATE_QUEUE_NAME = "item.update.queue";
    String ITEM_DELETE_QUEUE_NAME = "item.delete.queue";

    String ITEM_SAVE_KEY = "item.save";
    String ITEM_UPDATE_KEY = "item.update";
    String ITEM_DELETE_KEY = "item.delete";

}
